import { createApp } from 'vue'

import App from './App.vue'

import router from '@/router/router.js'

// import axios from  '@/utils/request.js'

import ViewUIPlus from 'view-ui-plus'

// import axios from  'axios'
// import axios, { AxiosResponse, InternalAxiosRequestConfig, AxiosError } from 'axios'


import 'view-ui-plus/dist/styles/viewuiplus.css'


// import uView from 'uview-ui'   uni is not defined  
  
const app = createApp(App);

app.use(router);

app.use(ViewUIPlus, {
    transfer: true,
    size: 'large',
    capture: false,
    select: {
        arrow: 'md-arrow-dropdown',
        arrowSize: 20
    }
});

// app.use(axios);

 
app.mount('#app');


// console.log(111,axios);
// console.log();
// 如此配置即可
// uni.$u.config.unit = 'rpx'

